import { GENDER_ENUM } from '@/constants/user';

export interface UserModel {
  userId: string;
  userName: string;
  password?: string;
  tel?: string;
  email?: string;
  avatar?: string | undefined;
  gender?: GENDER_ENUM;
  age: number;
  sportsCategory?: string;
  sportsLevel?: number;
  nickname?: string;
  wechatId?: string;
  createdAt: number;
  updatedAt: number;
}

export interface PageModel {
  pageSize: number;
  pageIndex: number;
}

export interface ListPageModel<T> {
  total: number;
  list: T[];
  pageIndex: number;
  pageSize: number;
}
